package sz.szsmk.citizencard.ui.adapter;

import android.content.Context;
import androidx.recyclerview.widget.RecyclerView;
import android.view.View;
import android.view.ViewGroup;

import sz.szsmk.citizencard.R;

/**
 * Copyright (c)2018
 * author: zdh
 * created on: 2018/6/22 10:54
 * description:
 */
public class NewsDiscountAdapter extends RecyclerView.Adapter<NewsDiscountAdapter.NewsDiscountViewHolder> {

    private Context mContext;

    public NewsDiscountAdapter(Context context) {
        mContext = context;
    }

    @Override
    public NewsDiscountViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
        return null;
    }

    @Override
    public int getItemViewType(int position) {
        return R.layout.news_order_item;
    }

    @Override
    public int getItemCount() {
        return 1;
    }

    @Override
    public void onBindViewHolder(NewsDiscountViewHolder holder, int position) {

    }


    public static class NewsDiscountViewHolder extends RecyclerView.ViewHolder {

        public NewsDiscountViewHolder(View itemView) {
            super(itemView);
        }
    }
}
